package com.ac.api.user.vo;

import com.ac.api.user.entity.AcUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author mzl.
 */
@Data
@ApiModel
public class LoginSuccessVo {

    @ApiModelProperty("后台用户信息")
    private AcUser user;

    @ApiModelProperty("登录令牌")
    private String token;
    @ApiModelProperty("JWT令牌")
    private String jwtToken;
    public LoginSuccessVo() {
    }

    public LoginSuccessVo(AcUser user, String jwtToken) {
        this.user = user;
        this.jwtToken = jwtToken;
    }
    public LoginSuccessVo(AcUser user, String token, String jwtToken) {
        this.user = user;
        this.token = token;
        this.jwtToken = jwtToken;
    }
}
